package com.evil.common.application.dto.form;

import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 应用表单 实体
 *
 * @author liyang
 * @date 2022-08-08 00:00
 */
@Data
@NoArgsConstructor
public class ApplicationFormDTO {

    /**
     * 应用key
     */
    @NotBlank(message = "应用key不能为空")
    private String applicationKey;

    /**
     * 表单id
     */
    @NotNull(message = "表单id不能为空")
    private Long applicationFormId;
}
